export default [
  {
    path: '/index',
    name: "首页",
    redirect: "/indexPage",
    component: () => import('@/views/index'),
    hidden: true,
    children: [
      // 首页
      {
        path: '/indexPage',
        name: "首页",
        component: () => import('@/views/indexPage/index')
      },
      // 场站及设备管理
      {
        path: '/stationEquipment/stations/organizationSetting',
        name: "组织机构设置",
        component: () => import('@/views/stations/organizationSetting')
      },
      {
        path: '/stationEquipment/stations/taskMaintain',
        name: "巡检任务维护",
        component: () => import('@/views/stations/taskMaintain')
      },
      {
        path: '/stationEquipment/airLine',
        name: "航线管理",
        component: () => import('@/views/stations/airLine')
      },
      {
        path: '/stationEquipment/stations/stationManage/station',
        name: "场站基础信息管理",
        component: () => import('@/views/stations/stationManage/station')
      },
      {
        path: '/stationEquipment/stations/pvInfo/index',
        name: "光伏组件基础信息",
        component: () => import('@/views/stations/pvInfo/index')
      },
      {
        path: '/stationEquipment/uav',
        name: "无人机",
        component: () => import('@/views/stations/uav')
      },
      {
        path: '/stationEquipment/hangar',
        name: "机库",
        component: () => import('@/views/stations/hangar')
      },
      {
        path: '/stationEquipment/robot',
        name: "机器人",
        component: () => import('@/views/stations/robot')
      },
      // 故障诊断分析
      {
        path: '/diagnosticTask/startTask/index',
        name: "智能诊断",
        component: () => import('@/views/diagnosticTask/startTask/index')
      },
      {
        path: '/diagnosticTask/taskList',
        name: "诊断任务查询",
        component: () => import('@/views/diagnosticTask/taskList')
      },
      // 诊断结果
      {
        path: '/taskResult/getResult/index',
        name: "结果查询",
        component: () => import('@/views/diagnosticTaskResult/getResult/index')
      },
      {
        path: '/taskResult/resultDetail/index',
        name: "结果详情",
        component: () => import('@/views/diagnosticTaskResult/resultDetail/index')
      },
      {
        path: '/taskResult/resultPush/index',
        name: "诊断结果推送",
        component: () => import('@/views/diagnosticTaskResult/resultPush')
      },
      {
        path: '/taskResult/resultPush/pushRecord',
        name: "推送记录",
        component: () => import('@/views/diagnosticTaskResult/resultPush/pushRecord')
      },
      // 数据资源
      {
        path: '/dataSource/index',
        name: "数据采集",
        component: () => import('@/views/dataSource/dataUpload/index')
      },
      {
        path: '/dataSource/dataSourceList',
        name: "资源查询",
        component: () => import('@/views/dataSource/dataSourceList')
      },
      {
        path: '/dataSource/dataSourceConfig',
        name: "数据资源配置",
        component: () => import('@/views/dataSource/dataSourceConfig')
      },

      // 系统管理
      {
        path: '/userAuth/user',
        name: "用户管理",
        component: () => import('@/views/userAuth/user')
      },
      {
        path: '/userAuth/auth/index',
        name: "权限管理",
        component: () => import('@/views/userAuth/auth/index')
      },
      // 个人中心
      {
        path: '/userCenter/index',
        name: "个人中心",
        component: () => import('@/views/userCenter/index')
      },
      // 我的任务
      {
        path: '/myTasks/diagnosticResults',
        name: "一体化诊断",
        component: () => import('@/views/myTasks/diagnosticResults')
      },
      {
        path: '/myTasks/integratedDiagnosis',
        name: "诊断任务",
        component: () => import('@/views/myTasks/integratedDiagnosis')
      },
      {
        path: '/myTasks/resourceCollection',
        name: "资源采集任务",
        component: () => import('@/views/myTasks/resourceCollection')
      },
      {
        path: '/myTasks/resultPushTask',
        name: "结果推送任务",
        component: () => import('@/views/myTasks/resultPushTask')
      },
    ]
  }
]
